<?php

    $_rows = del($GLOBALS['c'],$_GET['id']);

	if($_rows>0){
			echo '<script>alert("删除成功");history.go(-1);</script>';die;
              
	}else{
		echo '<script>alert("删除失败");history.go(-1);</script>';die;
	}
